package jp.co.sakaiever.tool;

import org.apache.wicket.RequestCycle;
import jp.co.sakaiever.logic.ExternalLogic;
import jp.co.sakaiever.logic.SakaieverLogic;

public class Locator {
	
	public static ExternalLogic getExternalLogic()
    {
        SakaieverApplication app = (SakaieverApplication)RequestCycle.get().getApplication();
        return app.getExternalLogic();
    }
	
	public static SakaieverLogic getSakaieverLogic()
    {
        SakaieverApplication app = (SakaieverApplication)RequestCycle.get().getApplication();
        return app.getSakaieverLogic();
    }
}
